home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 11⁄17⁄89 / 0080-Re GridView restrict-Nov89 < prev    next >
Encoding:
Text File  |  1989-11-17  |  1.9 KB  |  59 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    0893673                         10-Nov-89        18:45
  4.  
  5. From:   MOOF                            Rollin, Keith A
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re- GridView restrictions
  10.  
  11. Attn: Bianchi, Curt
  12. SentBy: Keith Rollin
  13.         Reply to:    Re: GridView restrictions
  14. Dan, Curt,
  15.  
  16. There IS a problem with converting TGridView to have more than 32K rows and
  17. columns. This has to do with the way the currently highlighted cells are kept
  18. track of. They are mapped into a QuickDraw region, with each point in the
  19. region corresponding to a highlighted cell. Since QuickDraw regions are
  20. limited to 16 bit coordinates, you would have a hard time expanding this to
  21. longints.
  22.  
  23. You COULD double the size of TGridView with a little judicious translating,
  24. however. See what you can do about taking the negative values of cell
  25. coordinates and region points, and mapping them into the 32K-64K range.
  26.  
  27. - Keith Rollin
  28. - Apple Developer Technical Support
  29.  
  30. --------------------------------------
  31. Date: 11/10/89
  32. To: Keith Rollin
  33. From: Bianchi, Curt
  34. Item    5999939                         10-Nov-89        18:11
  35.  
  36. From:   BIANCHI1                        Bianchi, Curt
  37.  
  38. To:     SW0075                          SWV VTS Transportation Systems, GBG
  39.  
  40. cc:     MACAPP.TECH$                    MacApp Technical
  41.  
  42. Sub:    Re: GridView restrictions
  43.  
  44. Hi Dan,
  45.  
  46. I don't believe there is anything in the design of gridviews that would
  47. prevent it from being expanded to >32,767 rows or columns.  Mostly, it's a
  48. matter of changing the row/column indexes from integers to longints.  This
  49. would also apply to the TRunArray class in the gridview unit, as it maintains
  50. the row and column heights.  What I would do is to make a copy of MacApp's
  51. GridView and turn it into a 32-bit version.  Unfortunately you can't do this
  52. as a subclass of TGridView as it has the 16-bit row/column indices built into
  53. it.
  54.  
  55. Curt Bianchi
  56. Apple Computer
  57.  
  58.  
  59.